﻿using Microsoft.AspNet.Identity;
using Core.Dtos;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Front.Core.Dtos
{
    [Serializable]  
    [DataContract(Namespace = "urn:my-test-namespace")]
    public class UserDto : BaseDto<string>, Microsoft.AspNet.Identity.IUser<string>
    {
        public UserDto()
        {
        }

        [DataMember]
        public override string Id { get; set; }
        [DataMember]
        public virtual string UserName { get; set; }
        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public string Email { get; set; }
        [DataMember]
        public string PhoneNumber { get; set; }
        [DataMember]
        public DateTime? LockoutEndDateUtc { get; set; }
        [DataMember]
        public bool LockoutEnabled { get; set; }
        [DataMember]
        public int AccessFailedCount { get; set; }

        [DataMember]
        public string PasswordHash { get; set; }
        [DataMember]
        public string SecurityStamp { get; set; }
    }        
}
